from random import randint
perm = int(input())
xa = -7
ya = -8
xb = 5
yb = -8
xc = 5
yc = 5
xd = -7
yd = 5
con = 0
if perm > 0:
    for i in range(perm):
        x = randint(-100, 100)
        y = randint(-100, 100)
        if (x > xa) and (x < xb) and (y < yd) and (y > yb):
            con = con + 1
    print("вы попали", con, "раз")
else:
    print("введите положительное число")
